
var packJson = {
  sportDomain: "https://xcxty.whochange.com/shuibian_api/", //【正式服】运动数据接口域名地址

  // domain: "https://happyfitonline.whochange.com/", //接口域名地址
  domain: "https://happyfit.whochange.com/", //接口域名地址
  // domain: "http://192.168.6.242:8786/", //接口域名地址
  // domain: "http://192.168.6.247:9091/", //接口域名地址
  resStatusKey: "code", //服务器返回的状态key
  resMsgKey: "msg", //服务器返回的提示信息key  
  resStatus: {
    "ok": 200, //操作成功(ok)
    "empty": 202,
    "error": 404,
  }
};


function getPackage() {
  return packJson;
}

function setPackage(key, value) {
  packJson[key] = value;
}

function setDomain(value) {
  packJson["domain"] = value;
}

export default {
  getPackage,
  setPackage,
  setDomain,
}